<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head th:include="inc/home::header">
</head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<body>
	<div class="project-view">
		<form id="categoryAdd">
			<input type="text" readonly="readonly" style="display: none"
				name="id" />
			<table width="100%" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td width="30%" align="right"><span class="color-red">*</span>计划类别：</td>
					<td width="70%"><input type="text" class="input-pub"
						name="typeName" id="typeName"/></td>
				</tr>
			</table>
		</form>

	</div>
</body>

<script th:inline="javascript">  
/*<![CDATA[*/  
           
           
           
                       function verifyNull(obj){
	
		if(obj == null||obj.val()==""||obj.val()=="请选择"){
			top.top.$.Zebra_Dialog('<div class="prompt"><div class="warning-icon"></div><div class="success-title">输入的内容不能包含空</div></div>', {
				'title':'提示',
	 	         'buttons':['确定']
		     });
			return false;
		}
	return true;
}      
 function getData(){
	if(!verifyNull($("#typeName"))){
 		return false;
 	}

	return true;
 }
        var pt = [[${pt}]];  
        if(pt!=null){
            loadData(pt);
        }
/*]]>*/  
</script>

</html>
